/*
 * QuickSort.h
 *
 *  Created on: 2011-2-23
 *      Author:蓝达斌
 *
 *   Copyright   : Copyright © 2011 Binda&Aeolus
                   All Rights Reserved
 */

#ifndef QUICKSORT_H_
#define QUICKSORT_H_
#include <vector>
#include "Utility.h"
using std::vector;

class QuickSort
{
public:
	template<class Type>
    void Sort_Descend(vector<Type> &data,int start,int end);
	template<class Type>
	void Sort_Ascend(vector<Type> &data,int start,int end);
	template<class Type>
	int Partion_Asc(vector<Type> &data,int start,int end);
	template<class Type>
	int Partion_Desc(vector<Type> &data,int start,int end);

};


#endif /* QUICKSORT_H_ */
